/**
 * 
 */
package com.hl.taxinfo.service;

import java.util.List;

import com.hl.taxinfo.dao.ZyFirstDAO;
import com.hl.taxinfo.model.ZyFirst;

/**
 * @author Kamous
 *
 */
public interface ZyFirstService {

	/**
	 * @return the pid
	 */
	public int getPid();

	/**
	 * @param pid the pid to set
	 */
	public void setPid(int pid);

	/**
	 * @param zyFirstDAO the zyFirstDAO to set
	 */
	public void setZyFirstDAO(ZyFirstDAO zyFirstDAO);

	public List showZyFirstByPid(int pid) throws Exception;
	
	public boolean updateFirst(ZyFirst zyFirst)throws Exception;
	
	public boolean addZyFirst(ZyFirst zyFirst)throws Exception;

	public boolean deleteZyFirst(int firstId)throws Exception;
	
	public ZyFirst findZyFirstById(int firstId)throws Exception;
}